package com.lu.manage.modular.system.task;

import org.quartz.*;

public class QuartzTestTask implements Job {

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        JobDetail jobDetail = jobExecutionContext.getJobDetail();
        JobKey jobKey = jobDetail.getKey();
        String jobName = jobKey.getName();
        String jobGroup = jobKey.getGroup();
        System.out.println("jobName：" + jobName);
        System.out.println("jobGroup：" + jobGroup);
    }
}
